package com.hspedu.socket;

import java.net.InetAddress;
import java.net.UnknownHostException;

/**
 * @author 谷其昊
 * @version 1.0
 * @date 2022/3/11
 * @time 0:57
 */
public class Test {
    public static void main(String[] args) throws UnknownHostException {
        InetAddress ip = InetAddress.getByName("www.7bookstore.top");
        System.out.println("ip = " + ip);
    }
}
